<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>返回月份的名称</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.jdmonthname" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">JDMonthName</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">JDMonthName</span> &mdash; <span class="dc-title">返回月份的名称</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.jdmonthname-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>jdmonthname</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$julianday</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$mode</code></span>
   ) : <span class="type">string</span></div>

  <p class="para rdfs-comment">
   返回一个月份名称的字符串，<code class="parameter">mode</code>参数指定使用哪种历法和月份名称的形式。
   <table class="doctable table">
    <caption><strong>Calendar modes</strong></caption>
    
     <thead>
      <tr>
       <th>Mode</th>
       <th>Meaning</th>
       <th>Values</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>0</td>
       <td>Gregorian - abbreviated</td>
       <td>Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec</td>
      </tr>

      <tr>
       <td>1</td>
       <td>Gregorian</td>
       <td>January, February, March, April, May, June, July, August, September, October, November, December</td>
      </tr>

      <tr>
       <td>2</td>
       <td>Julian - abbreviated</td>
       <td>Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec</td>
      </tr>

      <tr>
       <td>3</td>
       <td>Julian</td>
       <td>January, February, March, April, May, June, July, August, September, October, November, December</td>
      </tr>

      <tr>
       <td>4</td>
       <td>Jewish</td>
       <td>Tishri, Heshvan, Kislev, Tevet, Shevat, AdarI, AdarII, Nisan, Iyyar, Sivan, Tammuz, Av, Elul</td>
      </tr>

      <tr>
       <td>5</td>
       <td>French Republican</td>
       <td>Vendemiaire, Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal, Floreal, Prairial, Messidor, Thermidor, Fructidor, Extra</td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.jdmonthname-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">jday</code></dt>

     <dd>

      <p class="para">
       用来计算的julian天数
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">calendar</code></dt>

     <dd>

      <p class="para">
       历法的月份的名字
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.jdmonthname-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   根据指定的julian天数和<code class="parameter">calendar</code>历法参数而得到月份的名称。
  </p>
 </div>


</div></div></div></body></html>